package com.example.team.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 作者:王轩
 * date: 2023/10/30
 **/
public class Offduty {
    private Integer OffDutyID;
    private Integer LeaveID;
    private Integer TripID;
    private Integer EmployeeID;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date DisruptDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date EndDate;

    public Integer getOffDutyID() {
        return OffDutyID;
    }

    public void setOffDutyID(Integer offDutyID) {
        OffDutyID = offDutyID;
    }

    public Integer getLeaveID() {
        return LeaveID;
    }

    public void setLeaveID(Integer leaveID) {
        LeaveID = leaveID;
    }

    public Integer getEmployeeID() {
        return EmployeeID;
    }

    public void setEmployeeID(Integer employeeID) {
        EmployeeID = employeeID;
    }

    public Date getDisruptDate() {
        return DisruptDate;
    }

    public void setDisruptDate(Date disruptDate) {
        DisruptDate = disruptDate;
    }

    public Date getEndDate() {
        return EndDate;
    }

    public void setEndDate(Date endDate) {
        EndDate = endDate;
    }

    public Integer getTripID() {
        return TripID;
    }

    public void setTripID(Integer tripID) {
        TripID = tripID;
    }
}
